package com.gisuni.sddc.platformManager.model;

import java.math.BigDecimal;
import java.util.Date;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;




/**
 * LayerInfoId entity. @author MyEclipse Persistence Tools
 */
@Table(value = "SDDCGISPLATFORM.LAYER_INFO")
public class LayerInfo implements java.io.Serializable {

	
	@Column(value = "ID" )
	@Name
	private String id;
	@Column(value = "LAYER_NAME" )
	private String layerName;
	@Column(value = "LAYER_INDEX" )
	private int layerIndex;
	@Column(value = "SERVER_ID" )
	private String serverId;
	@Column(value = "TABLE_NAME" )
	private String tableName;
	
	@Column(value = "CREATE_TIME" )
	private Date createTime;
	
	@Column(value = "UPDATE_TIME" )
	private Date updateTime;

	// Constructors

	/** default constructor */
	public LayerInfo() {
	}

	/** minimal constructor */
	public LayerInfo(String id) {
		this.id = id;
	}

	/** full constructor */
	public LayerInfo(String id, String layerName, int layerIndex,
			String serverId, String tableName, Date createTime, Date updateTime) {
		this.id = id;
		this.layerName = layerName;
		this.layerIndex = layerIndex;
		this.serverId = serverId;
		this.tableName = tableName;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	// Property accessors

	
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
	public String getLayerName() {
		return this.layerName;
	}

	public void setLayerName(String layerName) {
		this.layerName = layerName;
	}
	
	public int getLayerIndex() {
		return this.layerIndex;
	}

	public void setLayerIndex(int layerIndex) {
		this.layerIndex = layerIndex;
	}
	
	public String getServerId() {
		return this.serverId;
	}

	public void setServerId(String serverId) {
		this.serverId = serverId;
	}
	
	public String getTableName() {
		return this.tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	
	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}